//
//  TabController.m
//  StarFortune
//
//  Created by student on 14-10-14.
//  Copyright (c) 2014年 niit. All rights reserved.
//

#import "TabController.h"
#import "ViewController.h"
@interface TabController ()

@end

@implementation TabController



- (void)viewDidLoad
{
    [super viewDidLoad];
    self.tabBar.backgroundColor = [UIColor redColor];
    ViewController *firstCor = [[ViewController alloc]init];
    firstCor.title = @"xx";
    firstCor.tabBarItem.image = [UIImage imageNamed:@"1.png"];
    
    UINavigationController *navCor = [[UINavigationController alloc]initWithRootViewController:firstCor];
    [self addChildViewController:navCor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
